package com.open.capacity.finance.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 科目余额
 *
 * @author
 * @email
 * @date 2023-01-31 16:45:00
 */

@Data
@XStreamAlias("科目余额及发生额")
public class SourceKmye implements Serializable {
    private static final long serialVersionUID = 1L;


    private Long id;

    private String companyId;

    private String companyName;

    @XStreamAsAttribute
    @XStreamAlias("会计年度")
    private Integer kjnd;

    @XStreamAsAttribute
    @XStreamAlias("会计期间号")
    private Integer kjqj;

    @XStreamAsAttribute
    @XStreamAlias("科目编号")
    private String kjkmCode;

    private String kjkmName;

    @XStreamAsAttribute
    @XStreamAlias("辅助项1编号")
    private String ext1;

    @XStreamAsAttribute
    @XStreamAlias("辅助项2编号")
    private String ext2;

    @XStreamAsAttribute
    @XStreamAlias("辅助项3编号")
    private String ext3;

    @XStreamAsAttribute
    @XStreamAlias("辅助项4编号")
    private String ext4;

    @XStreamAsAttribute
    @XStreamAlias("辅助项5编号")
    private String ext5;

    @XStreamAsAttribute
    @XStreamAlias("辅助项6编号")
    private String ext6;

    @XStreamAsAttribute
    @XStreamAlias("辅助项7编号")
    private String ext7;

    @XStreamAsAttribute
    @XStreamAlias("辅助项8编号")
    private String ext8;

    @XStreamAsAttribute
    @XStreamAlias("辅助项9编号")
    private String ext9;

    @XStreamAsAttribute
    @XStreamAlias("辅助项10编号")
    private String ext10;

    @XStreamAsAttribute
    @XStreamAlias("辅助项11编号")
    private String ext11;

    @XStreamAsAttribute
    @XStreamAlias("辅助项12编号")
    private String ext12;

    @XStreamAsAttribute
    @XStreamAlias("期初余额方向")
    private String qcYefx;

    @XStreamAsAttribute
    @XStreamAlias("期初本币余额")
    private BigDecimal qc;

    @XStreamAsAttribute
    @XStreamAlias("借方本币金额")
    private BigDecimal j;

    @XStreamAsAttribute
    @XStreamAlias("贷方本币金额")
    private BigDecimal d;

    @XStreamAsAttribute
    @XStreamAlias("期末余额方向")
    private String qmYefx;

    @XStreamAsAttribute
    @XStreamAlias("期末本币余额")
    private BigDecimal qm;

    private BigDecimal ye;

    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss.SSS")
    private Date updateTime;

    private String updateUsername;

    /**
     * 类型：QC， RC
     */
    private String vouKind;

}
